TODO: Brief description of Kameleon class.
More...
#include <ccmc/Kameleon.h>
|
| static int | _cxform (const char *from, const char *to, const double et, Position *v_in, Position *v_out) |
| |
| static long | _cxRound (double doub) |
| |
| static long | _date2es (int yyyy, int mm, int dd, int hh, int mm2, int ss) |
| |
| static double | _gregorian_calendar_to_jd (int y, int m, int d, int h, int mi, int s) |
| |
TODO: Brief description of Kameleon class.
TODO: Full description of Kameleon class
| int Kameleon::_cxform |
( |
const char * |
from, |
|
|
const char * |
to, |
|
|
const double |
et, |
|
|
Position * |
v_in, |
|
|
Position * |
v_out |
|
) |
| |
|
static |
Wrapper for the CXFORM function cxform(). Performs coordinate transformation from the source system to the target system at the specified time.
- Parameters
-
| long Kameleon::_cxRound |
( |
double |
doub | ) |
|
|
static |
Wrapper for the CXFORM function cxRound()
- Parameters
-
| long Kameleon::_date2es |
( |
int |
yyyy, |
|
|
int |
mm, |
|
|
int |
dd, |
|
|
int |
hh, |
|
|
int |
mm2, |
|
|
int |
ss |
|
) |
| |
|
static |
Wrapper for the CXFORM function date2es()
- Parameters
-
| double Kameleon::_gregorian_calendar_to_jd |
( |
int |
y, |
|
|
int |
m, |
|
|
int |
d, |
|
|
int |
h, |
|
|
int |
mi, |
|
|
int |
s |
|
) |
| |
|
static |
Closes the currently opened file.
Returns a new interpolater that maintains state information independent of other interpolators. This can be used to parallelize the interpolations.
- Returns
- A new interpolator.
| bool Kameleon::doesAttributeExist |
( |
const std::string & |
attribute | ) |
|
| bool Kameleon::doesVariableExist |
( |
const std::string & |
variable | ) |
|
| float Kameleon::getConversionFactorToSI |
( |
const std::string & |
variable | ) |
|
Currently not implemented.
- Parameters
-
- Returns
| const std::string & Kameleon::getCurrentFilename |
( |
| ) |
|
| Time Kameleon::getCurrentTime |
( |
| ) |
|
Calculates the current time based on the start time and the elapsed time.
- Returns
- Formatted string of the current time. This is currently different for different models. If the current time cannot be calculated, "TIME_UNAVAILABLE" is returned.
| Attribute Kameleon::getGlobalAttribute |
( |
long |
i | ) |
|
| Attribute Kameleon::getGlobalAttribute |
( |
const std::string & |
attribute | ) |
|
| std::string Kameleon::getGlobalAttributeName |
( |
long |
attribute_id | ) |
|
| std::vector< std::string > Kameleon::getLoadedVariables |
( |
| ) |
|
| float Kameleon::getMissingValue |
( |
| ) |
|
| const std::string & Kameleon::getModelName |
( |
| ) |
|
Returns the model name of the opened file.
- Returns
- The model name.
| std::string Kameleon::getNativeUnit |
( |
const std::string & |
variable | ) |
|
Returns the units of the variable specified. The units may differ from the units in the original data.
- Parameters
-
- Returns
- String representation of the units
| int Kameleon::getNumberOfGlobalAttributes |
( |
| ) |
|
| int Kameleon::getNumberOfVariableAttributes |
( |
| ) |
|
| int Kameleon::getNumberOfVariables |
( |
| ) |
|
| int Kameleon::getProgress |
( |
| ) |
|
| std::string Kameleon::getSIUnit |
( |
const std::string & |
variable | ) |
|
| std::vector< float > * Kameleon::getVariable |
( |
const std::string & |
variable | ) |
|
| Attribute Kameleon::getVariableAttribute |
( |
const std::string & |
variable, |
|
|
const std::string & |
attribute |
|
) |
| |
| std::string Kameleon::getVariableAttributeName |
( |
long |
attribute_id | ) |
|
| const std::vector< float > *const Kameleon::getVariableFromMap |
( |
const std::string & |
variable | ) |
|
Returns a pointer to the variable data stored in a map. This method works for variables of type float. This cannot and should not be modified or deleted. Use loadVariable and unloadVariable to manange the map.
- Parameters
-
- Returns
| long Kameleon::getVariableID |
( |
const std::string & |
variable | ) |
|
| std::vector< int > * Kameleon::getVariableInt |
( |
const std::string & |
variable | ) |
|
| const std::vector< int > *const Kameleon::getVariableIntFromMap |
( |
const std::string & |
variable | ) |
|
Returns a pointer to the variable data stored in a map. This method works for variables of type int. This cannot and should not be modified or deleted. Use loadVariable and unloadVariable to manange the map.
- Parameters
-
- Returns
| std::string Kameleon::getVariableName |
( |
long |
variable_id | ) |
|
| std::string Kameleon::getVisUnit |
( |
const std::string & |
variable | ) |
|
| bool Kameleon::loadVariable |
( |
const std::string & |
variable | ) |
|
| bool Kameleon::loadVectorVariable |
( |
const std::string & |
variable | ) |
|
| long Kameleon::open |
( |
const std::string & |
filename | ) |
|
| void Kameleon::setMissingValue |
( |
float |
missingValue | ) |
|
| bool Kameleon::unloadVariable |
( |
const std::string & |
variable | ) |
|
| bool Kameleon::unloadVectorVariable |
( |
const std::string & |
variable | ) |
|
| Model* ccmc::Kameleon::model |
The documentation for this class was generated from the following files: